package com.hhp.cloud.shop.auth.feign;

import com.hhp.cloud.shop.auth.vo.OauthClientVo;
import com.hhp.cloud.shop.common.core.result.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Description: 系统管理oauthClient远程服务
 * @author: hhp
 * @date: 2021/11/23 17:52
 */
@FeignClient(name = "shop-admin", contextId = "oauthClient")
public interface OAuthClientFeignService {

    @GetMapping("/api/v1/admin/oauthClient/getOAuth2ClientById")
    R<OauthClientVo> getOAuthClientById(@RequestParam String clientId);
}
